package com.itheima.service;


import com.itheima.domain.Permission;
import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;

import java.util.Map;

public interface PermissionService {

    Map<String, Object> findById(Integer id);

    void add(Permission permission);

    PageResult findPage(QueryPageBean queryPageBean);
}
